ExamPlay Light Logo
登入

Computer Science for IGCSE & O level - Programming (Section 1 - No. 36)

What is the purpose of the `try...except` block in Python?
To define a function.
To handle potential errors and exceptions.
To create a loop.
To declare a variable.

解释

try...except allows you to catch and handle errors.

评论 (0)

登录发表评论
广告
BrainBehindX Inc Logo
©2026; 供电 BrainBehindX Inc